//主菜单图标
import homeNormal from './resource/model/icon-home-normal.png';
import homePick from './resource/model/icon-home-pitch.png';

import sectionNormal from './resource/model/icon-section-normal.png';
import sectionPick from './resource/model/icon-section-pitch.png';

import measureNormal from './resource/model/icon-measure-normal.png';
import measurePick from './resource/model/icon-measure-pitch.png';

import roamNormal from './resource/model/icon-roam-normal.png';
import roamPick from './resource/model/icon-roam-pitch.png';

import settingNormal from './resource/model/icon-setting-normal.png';
import settingPick from './resource/model/icon-setting-pitch.png';

import mapNormal from './resource/model/icon-map-normal.png';
import mapPick from './resource/model/icon-map-pitch.png';

import fullscreenNormal from './resource/model/icon-fullscreen-normal.png';
import fullscreenPick from './resource/model/icon-fullscreen-pitch.png';

import shareNormal from './resource/model/icon-share-normal.png'


//下拉子菜单图标
import viewNormal from './resource/model/icon-eyes-close.png';
import viewPick from './resource/model/icon-eyes-open.png';

import dotNormal from './resource/model/icon-point-normal.png';
import dotPick from './resource/model/icon-point-pitch.png';

import distanceNormal from './resource/model/icon-distance-normal.png';
import distancePick from './resource/model/icon-distance-pitch.png';

import angleNormal from './resource/model/icon-angle-normal.png';
import anglePick from './resource/model/icon-angle-pitch.png';

import lengthNormal from './resource/model/icon-length-normal.png';
import lengthPick from './resource/model/icon-length-pitch.png';

import gravityNormal from './resource/model/icon-gravity-normal.png';
import gravityPick from './resource/model/icon-gravity-pitch.png';

import crashNormal from './resource/model/icon-crash-normal.png';
import crashPick from './resource/model/icon-crash-pitch.png';

import personNormal from './resource/model/icon-person-normal.png';
import personPick from './resource/model/icon-person-pitch.png';

import refleshNormal from './resource/model/icon-reflesh-normal.png';
import refleshPick from './resource/model/icon-refresh-pitch.png';

import controlNormal from "./resource/model/icon-control-normal.png"
import controlPick from "./resource/model/icon-control-pitch.png";

import attrNormal from './resource/model/icon-attr-normal.png'
import attrPick from "./resource/model/icon-attr-pitch.png"

import positionNormal from './resource/model/icon-pushpin-normal.png'
import positionPick from './resource/model/icon-pushpin-pitch.png'

import versionNormal from './resource/model/icon-version-normal.png'
import versionPick from './resource/model/icon-version-pitch.png'

import searchNormal from './resource/model/icon-search-normal.png'
import searchPick from './resource/model/icon-search-pitch.png'

export const measureTypes = ['view','dot','distance','length','angle'];
export const operateTypes = ['magnify','shrink','translate','rotate'];

export const measureBlock = [
    {
        title: '点到点',
        selected: 'dot',
        normalImg: dotNormal,
        pickImg: dotPick,
    },

    {
        title: '净距',
        selected: 'distance',
        normalImg: distanceNormal,
        pickImg: distancePick,
    },
    {
        title: '长度',
        selected: 'length',
        normalImg: lengthNormal,
        pickImg: lengthPick,
    },
    {
        title: '角度',
        selected: 'angle',
        normalImg: angleNormal,
        pickImg: anglePick,
    }
];

export const roamBlock = [
    {
        title:'重力',
        selected:'gravity',
        normalImg:gravityNormal,
        pickImg:gravityPick,
    },
    {
        title:'碰撞',
        selected:'crash',
        normalImg:crashNormal,
        pickImg:crashPick,
    },
    {
        title:'第三人称',
        selected:'third',
        normalImg:personNormal,
        pickImg:personPick,
    },
];

export const operateBlock = [
    {
        title:'放大',
        selected:'magnify',
        normalImg:gravityNormal,
        pickImg:gravityPick,
    },
    {
        title:'缩小',
        selected:'shrink',
        normalImg:crashNormal,
        pickImg:crashPick,
    },
    {
        title:'平移',
        selected:'translate',
        normalImg:personNormal,
        pickImg:personPick,
    },
    {
        title:'旋转',
        selected:'rotate',
        normalImg:personNormal,
        pickImg:personPick,
    }
];

export const colorsBlock = [
    {
        key:'black',
        zh:'黑色',
        color:'#130c0e',
        rgba:[19,12,14,1]
    },
    {
        key:'white',
        zh:'白色',
        color:'#ffffff',
        rgba:[255,255,255,1]
    },
    {
        key:'blue',
        zh:'蓝色',
        color:'#145b7d',
        rgba:[20,91,125,1]
    },{
        key:'green',
        zh:'绿色',
        color:'#45b97c',
        rgba:[69,185,124,1]
    },
    {
        key:'soil',
        zh:'土色',
        color:'#b54334',
        rgba:[181,67,52,1]
    },
    {
        key:'transparent',
        zh:'空色',
        color:'#90d7ec',
        rgba:[144,215,224,1]
    },
    {
        key:'gradient',
        zh:'蓝白渐变色',
        isGradient:true,
        topColor:[177, 219, 254],
        bottomColor:[255,255,255],
    }
];

export const menuBlock = [
    {
        title: '主视角',
        selected: 'mainView',
        isSubMenu:false,
        type:'home',
        normalImg: homeNormal,
        pickImg: homeNormal,
        hoverImg:homePick,
    },
    {
        title: '刷新',
        selected: 'refresh',
        isSubMenu:false,
        type:'refresh',
        normalImg: refleshNormal,
        pickImg: refleshNormal,
        hoverImg:refleshPick,
    },
    {
        title: '剖切',
        selected: 'sectioning',
        isSubMenu:false,
        type:'codepen',
        normalImg: sectionNormal,
        pickImg: sectionPick,
        hoverImg:sectionPick,
    },

    {
        title: '测量',
        selected: 'measure',
        isSubMenu:true,
        type:'pushpin',
        normalImg: measureNormal,
        pickImg: measurePick,
        hoverImg:measurePick,
        children: measureBlock
    },
    {
        title: '漫游',
        selected: 'roaming',
        isSubMenu:true,
        type:'user',
        normalImg: roamNormal,
        pickImg: roamPick,
        hoverImg:roamPick,
        children: roamBlock
    },
    {
        title: '图钉',
        selected: 'thumbtack',
        isSubMenu:true,
        type:'thumbtack',
        normalImg: positionNormal,
        pickImg: positionPick,
        hoverImg:positionPick,
        children: [
            {
                title:'安全管理问题',
                check: false,
                selected:'safe',
                normalImg:crashNormal,
                pickImg:crashPick,
            },
            {
                title:'质量管理问题',
                check: false,
                selected:'qulity',
                normalImg:crashNormal,
                pickImg:crashPick,
            }
        ]
    },
    {
        title: '小地图',
        selected: 'miniMap',
        isSubMenu:false,
        type:'environment',
        normalImg: mapNormal,
        pickImg: mapPick,
        hoverImg:mapPick,
    },
    {
        title: '设置',
        selected: 'setting',
        isSubMenu:false,
        type:'setting',
        normalImg: settingNormal,
        pickImg: settingNormal,
        hoverImg:settingPick,
        unPick: true,
    },
    // {
    //     title: '全屏',
    //     selected: 'fullscreen',
    //     isSubMenu:false,
    //     type:'fullscreen',
    //     normalImg: fullscreenNormal,
    //     pickImg: fullscreenNormal,
    //     hoverImg:fullscreenPick,
    // },
    // {
    //     title: '定位',
    //     selected: 'position',
    //     isSubMenu:true,
    //     type:'position',
    //     normalImg: positionNormal,
    //     pickImg: positionPick,
    //     hoverImg:positionPick,
    //     unPick: true,
    // },
    {
        title: '版本',
        selected: 'version',
        isSubMenu:false,
        type:'version',
        normalImg: versionNormal,
        pickImg: versionPick,
        hoverImg:versionPick,
        unPick: true,
    },
    {
        title: '搜索',
        selected: 'search',
        isSubMenu:false,
        type:'search',
        normalImg: searchNormal,
        pickImg: searchPick,
        hoverImg:searchPick,
        unPick: true,
    },
    {
        title: '属性',
        selected: 'attr',
        isSubMenu:false,
        type:'attr',
        normalImg: attrNormal,
        pickImg: attrPick,
        hoverImg:attrPick,
        unPick: true,
    },
    {
        title: '切换模型',
        selected: 'switchModel',
        isSubMenu: false,
        type: 'switchModel',
        normalImg: attrNormal,
        pickImg: attrNormal,
        hoverImg:attrNormal,
    },
    // {
    //     title: '测试使用',
    //     selected: 'test',
    //     isSubMenu:false,
    //     type:'test',
    //     normalImg: settingNormal,
    //     pickImg: settingNormal,
    //     hoverImg:settingPick,
    //     unPick: true,
    // },
    {
        title: '分享',
        selected: 'share',
        isSubMenu: false,
        type: 'share',
        normalImg: shareNormal,
        pickImg: shareNormal,
        hoverImg: shareNormal,
        unPick: true,
    }
]
